package com.system.service;

import java.util.List;

import com.system.entity.Doc;
import com.system.entity.DocType;

public interface DocService {
	public boolean add(Doc doc);
	public List<Doc> queryAll();
	public Doc queryById(int id);
	public boolean update(Doc doc);
	public boolean delete(Doc doc) ;
	public List<Doc> getDocListByType(DocType docType); 
}
